let sp = 20
let mm = 23
for (let i = 1; i <= mm; i += 2) {
    console.log(' '.repeat(sp--).concat('*'.repeat(i)))
}
sp+=2
for (let i = mm-2; i >=1; i -= 2) {
    console.log(' '.repeat(sp++).concat('*'.repeat(i)))
}
